<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      #ldh {
        width: 100px;
        height: 30px;
        background-color: green;
        color: red;
        text-align: center;
        line-height: 30px;
      }

      span {
        font-size: 25px;
        font-style: italic;
      }

      #bx {
        font-weight: normal;
        text-shadow: blue -2px 2px 3px;
      }

      #xyj {
        text-decoration: underline;
      }

      a {
        text-decoration: none;
        font-weight: bold;
        font-size: 20px;
      }
    </style>
  </head>

  <body>
    <div id="ldh">刘德华</div>
    <div>张学友</div>
    <span>香蕉</span><span>苹果</span>
    <h1 id="bx">冰箱</h1>
    <h1 id="xyj">洗衣机</h1>
    <a href="http://www.baidu.com">百度</a>
  </body>
</html>
